package com.Liux.dao;

import com.Liux.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TacherMapper {

    @Select("select *from teacher where id=#{tid}")
    Teacher getlistById(@Param("tid") int id);

    List<Teacher> getTeacher(int id);
}
